libxl: add a "relative" parameter to libxl_set_memory_target
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 22 Sep 2010 16:37:09 +0000 (17:37 +0100)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 22 Sep 2010 16:37:09 +0000 (17:37 +0100)
commit038955aa3b5be0dc4c2577b1081a66f82af54a61
tree36d6abb9b12730a13e866a95ce42ad7c1833a4fe
parenteb7c5c76a3c6f5c6f870cc3df9d0b85ea9d898da
libxl: add a "relative" parameter to libxl_set_memory_target

Introduce a relative parameter to flag that target_memkb is a relative
amount of memory.  The first time we are reading/writing dom0 memory
target, fill the informations in xenstore if they are missing.

Introduce libxl_get_memory_target.

[fixed up for conflicts with libxl__ naming policy changes -iwj]

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl.c
tools/libxl/libxl.h
tools/libxl/xl_cmdimpl.c